package com.cxyd.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("stu")
public class Stu implements Serializable {

    private static final long serialVersionUID = 500L;

    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty("主键ID")
    private int id;

    @TableField("name")
    @ApiModelProperty("学生姓名")
    private String name;

    @TableField("sex")
    @ApiModelProperty("性别")
    private String sex;

    @TableField("birthday")
    @ApiModelProperty("生日")
    private String birthday;

    @TableField("phone")
    @ApiModelProperty("联系方式")
    private String phone;

    @TableField("weixin")
    @ApiModelProperty("微信")
    private String weixin;

    @TableField("teacher")
    @ApiModelProperty("老师")
    private String teacher;

    @TableField("course")
    @ApiModelProperty("课程")
    private String course;

    @TableField("city")
    @ApiModelProperty("所在城市")
    private String city;

    @TableField("school")
    @ApiModelProperty("校区名称")
    private String school;

    @TableField("whether")
    @ApiModelProperty("是否接触过机器人")
    private String whether;

    @TableField("des")
    @ApiModelProperty("学生基本情况")
    private String des;

}
